<div class="form-group">
    <label for="Text">题目</label>
    <textarea name="title" class="form-control" rows="2" placeholder="题目..."
              id="Text">{{ old('title')?old('title'):$data->title }}</textarea>
</div>
<div class="form-group">
    <label for="Text">答案</label>
    @include('common.kindeditor')
    <textarea id="content" name="answer" style="width: 100%;height: 200px;">{{ old('answer')?old('answer'):$data->answer }}</textarea>
</div>
<button id="choicetj" class="btn btn-default">提交</button>
<script>
    $('#choicetj').click(function () {
        $(this).html('<i class="fa fa-spinner fa-pulse"></i>').css('width', '54px');
    });
</script>
@csrf